import { Module } from '@nestjs/common';
import { CodeController } from './code.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { User } from '../entities/user.entity';
import { Code } from '../entities/code.entity';
import { UserController } from '../user/user.controller';

@Module({
  imports: [TypeOrmModule.forFeature([User, Code])],
  controllers: [CodeController],
})
export class CodeModule {}
